package com.example.demo.entity;

import lombok.Data;
import org.springframework.stereotype.Component;

@Data
@Component
public class PopularImage {
    private String imageName;
    private String imageLink;

    public PopularImage(){}
    public PopularImage(String imageName, String imageLink){
        this.imageName = imageName;
        this.imageLink = imageLink;
    }

    @Override
    public String toString() {
        return "PopularImage{" +
                "imageName='" + imageName + '\'' +
                ", imageLink='" + imageLink + '\'' +
                '}';
    }
}
